package com.chiaching.framwork.config;

import com.chiaching.framwork.utils.SpringContextUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.annotation.Configuration;

/**
 * @email 1738870995@qq.com
 * @author: 何佳靖
 * @date: 2022/3/26 11:05
 */
@Configuration
public class SystemInitNotifyConfig implements CommandLineRunner {

    private Logger logger = LoggerFactory.getLogger(SystemInitNotifyConfig.class);

    @Override
    public void run(String... args) throws Exception {
        logger.info("[{}] start success!", SpringContextUtil.getApplicationName());
    }
}
